<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>jQuery  测试</title>
		<script src="../../common/libs/jquery.js" type="text/javascript"></script>
		
		<script src="../../common/project/project.js" type="text/javascript"></script>
		<script src="../../common/assets/scripts/default.js" type="text/javascript"></script>
		<script src="../../common/assets/scripts/debug.js" type="text/javascript"></script>
	</head>
	<body>
		<div style="background: yellow;" id="a">
				<div style="background: red; width:200px;" id="aa">s<div style="background: black; color:white" id="aaa">sadsd</div></div>
				<div style="background: green;" id="ab">f<input type="button" name="button" id="button" value="子控件" /></div>
			</div>
		</div>
			
			<hr>
		<script>
			var a = $('#a'), aa = $('#aa'), aaa = $('#aa'), ab = $('#ab');
			var fns = [
				["jQuery.prototype.bind", function(){ return a.bind('click', log); }],
				["jQuery.prototype.unbind", function(){ return a.unbind('click'); }],
				["jQuery.prototype.trigger", function(){ return a.trigger('click'); }],
				["jQuery.prototype.one", function(){ 
					return a.one('click', log) ;
				 }]
			];
		</script>
	</body>
</html>
